import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TablepanelComponent } from './tablepanel/tablepanel.component';
import { ShopexService } from './shopex.service';
import { RouterModule, Routes } from '@angular/router';
import { SharedModule } from '@shared';

const routes: Routes = [
  { path: 'table', component: TablepanelComponent }
];

@NgModule({
  declarations: [TablepanelComponent],
  imports: [
    CommonModule,
    RouterModule.forChild(routes),
    SharedModule
  ],
  providers: [ShopexService]
})
export class ShopExModule { }
